package cn.edu.hbpu.service;

import cn.edu.hbpu.common.R;
import cn.edu.hbpu.entity.ThirdCategory;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @author lcy
 * @date 2022/8/16 19:50
 * @description
 */
public interface ThirdCategoryService {

    /**
     * 根据tId删除三级分类
     * @param tId
     * @return
     */
    R<String> deleteThirdCategory(String tId);

    /**
     * 分页查询三级分类。实现了搜索功能
     * @param searchField
     * @param searchText
     * @param startDateTime
     * @param endDateTime
     * @param page
     * @param pageSize
     * @return
     */
    R<Page<ThirdCategory>> pagingQuery(String searchField, String searchText, String startDateTime, String endDateTime, int page, int pageSize);
}
